package cn.edu.scau.cmi.dengzhengyu.singleton;

public class Chairman {
	private static Chairman ins;
	private String name;

	private Chairman(String name) {
		this.name = name;
	}
	public static Chairman getInstance(String name) {
		if(ins == null &&!name.equals(null)) {
			ins = new Chairman(name);
		}
		return ins;
	}
	public static Chairman getIns() {
		return ins;
	}
	public String getName() {
		return name;
	}
	
	
}
